package pers.wy.sell.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import pers.wy.sell.domain.ProductInfo;

import java.util.List;

/**
 * @Author: 月落
 * @Date: Created in 19:15 2018/9/4
 */
public interface ProductInfoDao extends JpaRepository<ProductInfo, String> {

    /**
     * 查询商品状态
     *
     * @param productStatus
     * @return
     */
    List<ProductInfo> findByProductStatus(Integer productStatus);

}
